﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace zichan.Entity
{
    public class AsssetLog
    {
        [Key]
        public int Id { get; set; }
        public DateTime Time { get; set; }
        /// <summary>
        /// 资产编码
        /// </summary>
        public string  Code { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        public int AssetId { get; set; }
        [NotMapped]
        public string AssetName { get; set; }
        public string Operation { get; set; }
        public int StaffId { get; set; }
        [NotMapped]
        public string StaffName { get; set; }
    }
}
